package Client.impl;

import org.omg.CORBA.ORB;

import Client.Controler.AppliManager;
import VWorld.ClientCallBacksPOA;
import VWorld.Message;

public class ClientCallBacksImpl extends ClientCallBacksPOA {
	private ORB orb;
	@Override
	public void newPrivateMessage() {
		// appeller le refresh

	}

	@Override
	public void newRoomMessage(Message m) {
		AppliManager.getInstanceFirst(null).refreshMessageRoom( m);
		System.out.println("hou");

	}

	public void setORB(ORB orb) {
		this.orb = orb;
		
	}

}
